home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-12-13 | 869 b | 38 lines | [TEXT/MPS ] |
- // Copyright 1993, Apple Computer Inc.
-
- #ifndef STREAM_H
- #define STREAM_H 1
-
- #include <iostream.h>
- #include <iomanip.h>
- #include <stdiostream.h>
- #include <fstream.h>
-
- #ifndef NULL
- #define NULL 0
- #endif
-
- extern char* oct(long, int =0);
- extern char* dec(long, int =0);
- extern char* hex(long, int =0);
-
- extern char* chr(int, int =0); // chr(0) is ""
- extern char* str(const char*, int =0);
- extern char* form(const char* ...);
-
- extern istream& WS(istream&) ;
- extern void eatwhite(istream&) ;
-
- static const int input = (ios::in) ;
- static const int output = (ios::out) ;
- static const int append = (ios::app) ;
- static const int atend = (ios::ate) ;
- static const int _good = (ios::goodbit) ;
- static const int _bad = (ios::badbit) ;
- static const int _fail = (ios::failbit) ;
- static const int _eof = (ios::eofbit) ;
-
- typedef ios::io_state state_value ;
-
- #endif /*STREAM_H*/
-